package com.example.graduationdesign.exception;


import com.example.graduationdesign.pojo.vo.ResultCode;

/**
 * 自定义异常
 */

public class CustomizeException extends RuntimeException {
    private ResultCode resultCode;

    public CustomizeException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
    public ResultCode getResultCode() {
        return resultCode;
    }

    public void setResultCode(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
